/* 
 * File:   alfaBetaWithMemory.h
 * Author: Fernando L
 *
 * Created on 1 de julio de 2011, 10:23 a.m.
 */

#include "Algoritmo.h"
#include "Nodo.h"
#include "hashMap.h"


#include <stdio.h>
#include <stdlib.h>

#ifndef ALFABETAWITHMEMORY_H
#define	ALFABETAWITHMEMORY_H

class alfaBetaWithMemory  {
public:
    
    alfaBetaWithMemory();
    
    //virtual int Buscar(Nodo *nodo, int profundidad, bool juegaBlanco) = 0;    

    int AlphaBetaWithMemory(Nodo *nodo, int a, int b, int profundidad, bool juegaNegro);

    int NodGen() const;
    
    //virtual ~alfaBetaWithMemory();
private:
    hash_t map;
    int nodGen;
};




#endif	/* ALFABETAWITHMEMORY_H */


